package com.xyht.sca_s.student_manage_system.modules.agreement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_agreement_application_process")
@ApiModel(value="SmsAgreementApplicationProcess对象", description="")
public class SmsAgreementApplicationProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "流程节点名")
    private String processName;

    @ApiModelProperty(value = "流程对象id：角色或个人id")
    private String processObjectId;

    @ApiModelProperty(value = "流程对象类型 1个人，2：角色")
    private Integer processObjectType;

    @ApiModelProperty(value = "流程节点申请人是否可编辑 0不可编辑 1可编辑")
    private Boolean processIsApplicationEdit;

    @ApiModelProperty(value = "是否启用 0：不启用，1：启用")
    private Boolean processIsUse;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "流程排序")
    private Integer processSort;

    @ApiModelProperty(value = "是否签名 0：不签名，1：签名")
    private Boolean processIsSign;

    @ApiModelProperty(value = "是否盖章 0：不盖章，1：盖章")
    private Boolean processIsStamp;


}
